package com.atguigu.ggkt.client.user;

import com.atguigu.ggkt.model.user.UserInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author zfj
 * @date 2022/7/10 -17:10
 */
@FeignClient(value = "service-user")
public interface UserInfoFeignClient {

	@GetMapping("/admin/user/userInfo/inner/getById/{id}")
	UserInfo getById(@PathVariable Long id);

}
